package com.itheima.Service.impl;

import com.itheima.Dao.StudentDao;
import com.itheima.Service.StudentService;

public class StudentServiceimpl implements StudentService {
    public void setSt(StudentDao st) {
        this.st = st;
    }

    private StudentDao st;
    @Override
    public void save() {

        System.out.println("这是实现StudentService方法");
        st.save();
    }
}
